package com.xx.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

public class Relation implements Serializable {

    @Serial
    private static final long serialVersionUID = -8188634028273462443L;

    private int studentId;
    private int courseId;

    @Override
    public String toString() {
        return "Relation{" +
                "studentId=" + studentId +
                ", courseId=" + courseId +
                '}';
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }
}
